﻿using System.Collections.Generic;
using Orchard.ContentManagement.Records;
using Orchard.Environment.Extensions;
using System;

namespace Rework.CommerceHistory.Models {
    [OrchardFeature("Rework.CommerceRoleAssignment")]
    public class CommerceRoleAssignmentPartRecord : ContentPartRecord {
        public virtual int NumberOfPeriods { get; set; }
        public virtual PeriodOptions PeriodType { get; set; }
    }

    public enum PeriodOptions { 
        Day,
        Week,
        Month,
        Year,
    }
}
